package Test1224;

public class Test09 {
    public static void main(String[] args) {
        // 数组中最大的偶数
        int[] arr = {6, 1, 7, 4, 3};

        int max= 0;
        for (int j = 0; j < arr.length; j++) {
            if( arr[j] % 2 == 0&& arr[j]>max){
                max = arr[j];

            }
        }
        System.out.println(max);
    }
}
